Integrand size = 18, antiderivative size = 33 \[ \int \frac {x \sin (a+b x)}{\sqrt {\cos (a+b x)}} \, dx=-\frac {2 x \sqrt {\cos (a+b x)}}{b}+\frac {4 E\left (\left .\frac {1}{2} (a+b x)\right |2\right )}{b^2} \]
[Out]
Time = 0.03 (sec) , antiderivative size = 33, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {3525, 2719} \[ \int \frac {x \sin (a+b x)}{\sqrt {\cos (a+b x)}} \, dx=\frac {4 E\left (\left .\frac {1}{2} (a+b x)\right |2\right )}{b^2}-\frac {2 x \sqrt {\cos (a+b x)}}{b} \]
[In]
[Out]
Rule 2719
Rule 3525
Rubi steps \begin{align*} \text {integral}& = -\frac {2 x \sqrt {\cos (a+b x)}}{b}+\frac {2 \int \sqrt {\cos (a+b x)} \, dx}{b} \\ & = -\frac {2 x \sqrt {\cos (a+b x)}}{b}+\frac {4 E\left (\left .\frac {1}{2} (a+b x)\right |2\right )}{b^2} \\ \end{align*}
Result contains higher order function than in optimal. Order 5 vs. order 4 in optimal.
Time = 0.69 (sec) , antiderivative size = 66, normalized size of antiderivative = 2.00 \[ \int \frac {x \sin (a+b x)}{\sqrt {\cos (a+b x)}} \, dx=-\frac {2 \sqrt {\cos (a+b x)} \left (b x-2 \tan (a+b x)+\operatorname {Hypergeometric2F1}\left (\frac {1}{4},\frac {1}{2},\frac {3}{2},-\tan ^2(a+b x)\right ) \sqrt [4]{\sec ^2(a+b x)} \tan (a+b x)\right )}{b^2} \]
[In]
[Out]
Result contains complex when optimal does not.
Time = 0.36 (sec) , antiderivative size = 310, normalized size of antiderivative = 9.39
method | result | size |
risch | \(-\frac {\left (x b +2 i\right ) \left ({\mathrm e}^{2 i \left (x b +a \right )}+1\right ) \sqrt {2}\, {\mathrm e}^{-i \left (x b +a \right )}}{b^{2} \sqrt {\left ({\mathrm e}^{2 i \left (x b +a \right )}+1\right ) {\mathrm e}^{-i \left (x b +a \right )}}}-\frac {2 i \left (-\frac {2 \left ({\mathrm e}^{2 i \left (x b +a \right )}+1\right )}{\sqrt {\left ({\mathrm e}^{2 i \left (x b +a \right )}+1\right ) {\mathrm e}^{i \left (x b +a \right )}}}+\frac {i \sqrt {-i \left (i+{\mathrm e}^{i \left (x b +a \right )}\right )}\, \sqrt {2}\, \sqrt {i \left ({\mathrm e}^{i \left (x b +a \right )}-i\right )}\, \sqrt {i {\mathrm e}^{i \left (x b +a \right )}}\, \left (-2 i \operatorname {EllipticE}\left (\sqrt {-i \left (i+{\mathrm e}^{i \left (x b +a \right )}\right )}, \frac {\sqrt {2}}{2}\right )+i \operatorname {EllipticF}\left (\sqrt {-i \left (i+{\mathrm e}^{i \left (x b +a \right )}\right )}, \frac {\sqrt {2}}{2}\right )\right )}{\sqrt {{\mathrm e}^{3 i \left (x b +a \right )}+{\mathrm e}^{i \left (x b +a \right )}}}\right ) \sqrt {2}\, \sqrt {\left ({\mathrm e}^{2 i \left (x b +a \right )}+1\right ) {\mathrm e}^{i \left (x b +a \right )}}\, {\mathrm e}^{-i \left (x b +a \right )}}{b^{2} \sqrt {\left ({\mathrm e}^{2 i \left (x b +a \right )}+1\right ) {\mathrm e}^{-i \left (x b +a \right )}}}\) | \(310\) |
[In]
[Out]
Exception generated. \[ \int \frac {x \sin (a+b x)}{\sqrt {\cos (a+b x)}} \, dx=\text {Exception raised: TypeError} \]
[In]
[Out]
\[ \int \frac {x \sin (a+b x)}{\sqrt {\cos (a+b x)}} \, dx=\int \frac {x \sin {\left (a + b x \right )}}{\sqrt {\cos {\left (a + b x \right )}}}\, dx \]
[In]
[Out]
\[ \int \frac {x \sin (a+b x)}{\sqrt {\cos (a+b x)}} \, dx=\int { \frac {x \sin \left (b x + a\right )}{\sqrt {\cos \left (b x + a\right )}} \,d x } \]
[In]
[Out]
\[ \int \frac {x \sin (a+b x)}{\sqrt {\cos (a+b x)}} \, dx=\int { \frac {x \sin \left (b x + a\right )}{\sqrt {\cos \left (b x + a\right )}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {x \sin (a+b x)}{\sqrt {\cos (a+b x)}} \, dx=\int \frac {x\,\sin \left (a+b\,x\right )}{\sqrt {\cos \left (a+b\,x\right )}} \,d x \]
[In]
[Out]